// config/config.ts
import { defineConfig } from 'umi';
import routes from './routes';

export default defineConfig({
  routes: routes,
  devServer:{
    port:8888
  },
  proxy: {
    '/api': {
      target: 'https://api.shop.eduwork.cn/',
      changeOrigin: true,
    },
  },
  fastRefresh: {},
});
